package com.lc.demo.mapper;


import com.lc.demo.bean.Teacher;
import org.apache.ibatis.annotations.*;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.List;

/**
 * @ClassName TeacherMapper
 * @Deacription TODO
 * @Author jinshuhan
 * @Version 1.0
 **/
public interface TeacherMapper  extends BaseMapper<Teacher> {

    @Select("select * from teacher where username=#{username} and password=#{password}")
    Teacher login(@Param("username") String username,@Param("password") String password);

}
